Foreign-Key Based XPath Navigation

نویسندگان

  • Sharon Krisher
  • Oded Shmueli
چکیده

XML Schema defines identity constraints, including key and foreign key constraints. We consider the problem of navigating from a keyed element to its referring ”children” and, conversely, from an element containing a foreign key to the ”parent” it references. Our contributions are as follows. We extend an expressive fragment of XPath, called XPath′, with navigation axes according to foreign keys, resulting in a fragment called XPath′fk. We show a polynomial time algorithm for the evaluation of XPath′fk queries. We prove that XPath ′ fk is strictly more expressive than XPath′. Finally, we show that under certain conditions, if keys are restricted to have only one field then XPath′fk is equivalent to XPath′.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Transforming XPath Queries for Bottom-Up Query Processing

The widespreading of XML as a content-description language on the Web requires advanced processing and management techniques for huge XML databases. XPath is a standard language for extracting the specified elements from XML documents, and its efficient support is one of the key issues in the current XML database technology. In this paper, we propose an XPath query transformation method for the...

متن کامل

Containment and Integrity Constraints for XPath Fragments

XPath is a W3C standard that plays a crucial role in several in uential query, transformation, and schema standards for XML. Motivated by the larger challenge of XML query optimization, we investigate the problem of containment of XPath expressions under integrity constraints that are in turn formulated with the help of XPath expressions. Our core formalism consists of a fragment of XPath that ...

متن کامل

SXPath - Extending XPath towards Spatial Querying on Web Documents

Querying data from presentation formats like HTML, for purposes such as information extraction, requires the consideration of tree structures as well as the consideration of spatial relationships between laid out elements. The underlying rationale is that frequently the rendering of tree structures is very involved and undergoing more frequent updates than the resulting layout structure. Theref...

متن کامل

Query Based Learning of XPath Fragments

XPath is a language for XML document navigation. It is part of many XML related applications and standards such as XSLT, Document Object Models, XQuery, XLink, etc. This paper studies active forms of learning XPath expressions. In particular, we show nonlearnability of the XPath fragments using the equivalence and membership queries. In response to these negative results and visualisation probl...

متن کامل

Improving XPath Evaluation with Strategies

XPath is the defacto navigation language for XML documents conforming to DTD and it is important to have efficient evaluation and checking techniques available for XPath. Traversal strategies, a component of Adaptive Programming, are a well studied navigation language for objects conforming to class graphs and an efficient evaluation technique has been developed in the previous millenium. Trave...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011